/*
 * @Author: your name
 * @Date: 2022-04-03 16:59:51
 * @LastEditTime: 2022-04-13 20:05:33
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \drivingTow\src\trainees\dto\update-trainee.dto.ts
 */
import { ApiProperty, PartialType } from '@nestjs/swagger';
import { IsNotEmpty, IsNumber } from 'class-validator';
import { CreateTraineeDto } from './create-trainee.dto';

export class UpdateTraineeDto extends PartialType(CreateTraineeDto) {

}


export class SelectTraineeDto {
  @IsNotEmpty()
  @ApiProperty({ description: '每页显示的条数' })
  readonly pageSize: number;

  @IsNotEmpty()
  @ApiProperty({ description: '当前页数' })
  readonly pageNum: number;
}

export class Create_timeDto{
  @IsNotEmpty()
  @ApiProperty({ description: '创建时间' })
  readonly create_time: string;
}